Skip to content

Fix problem pod could not resolve external domain from upstream dns w…#931

Open
nontster wants to merge 1 commit intorancher:dev-v2.6from
nontster:dev-v2.6
Open

Fix problem pod could not resolve external domain from upstream dns w…#931
nontster wants to merge 1 commit intorancher:dev-v2.6from
nontster:dev-v2.6

Conversation

@nontster
Copy link

When nodelocaldns cache enabled, pod cannot resolve domain outside the Kubernetes cluster using upstream dns due to upstream dns not support TCP.

The force_tcp has to be removed to fix this problem. Please refer to the right configmap from upstream https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/nodelocaldns/nodelocaldns.yaml#L100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant